Repository navigation
Remove stale, unused ontolearn/tentris.py - #602
Merged
Merged
Conversation
Self-marked "Stale script! Should be updated or removed!" and unused anywhere else in the codebase. It imported ontolearn.base, which was deleted back in the owlapy 1.1.0 migration (2024), so it hadn't actually been importable in a long time -- the owlapy 1.6.6 migration (#601) fixed its two owlapy-related imports per #599, but that only surfaced this deeper, pre-existing breakage rather than resolving it. Closes #599. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QAArxHvomYuQmzjbMiV8d4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ontolearn/tentris.py. It's self-marked# TODO: Stale script! Should be updated or removed!and isn't imported anywhere else in the codebase.OWLOntology→AbstractOWLOntology,owlapy.util→owlapy.utils), but that only surfaced a deeper, separate problem: the file also importsontolearn.base, which was deleted back in a 2024 commit ("Adaptation to owlapy 1.1.0 (base module removed)"). So it hadn't actually been importable for ~2 years regardless of the owlapy pin.### Removed.Closes #599
Test plan
ontolearn.tentris/from ontolearn import tentris(grep -rlacross*.py).README.md's link todocs.tentris.io,verbalizer.py's default LLM endpoint URL) are unrelated to this module.🤖 Generated with Claude Code
https://claude.ai/code/session_01QAArxHvomYuQmzjbMiV8d4